import request from '@/utils/request'

// 查询论坛操作记录列表
export function listBbs_operation_record(query) {
  return request({
    url: '/bbs_operation_record/bbs_operation_record/list',
    method: 'get',
    params: query
  })
}

// 查询禁言记录列表
export function list_banned_record(query) {
  return request({
    url: '/bbs_operation_record/bbs_operation_record/bannedList',
    method: 'get',
    params: query
  })
}

// 查询论坛操作记录详细
export function getBbs_operation_record(id) {
  return request({
    url: '/bbs_operation_record/bbs_operation_record/' + id,
    method: 'get'
  })
}

// 新增论坛操作记录
export function addBbs_operation_record(data) {
  return request({
    url: '/bbs_operation_record/bbs_operation_record',
    method: 'post',
    data: data
  })
}

// 修改论坛操作记录
export function updateBbs_operation_record(data) {
  return request({
    url: '/bbs_operation_record/bbs_operation_record',
    method: 'put',
    data: data
  })
}

// 删除论坛操作记录
export function delBbs_operation_record(id) {
  return request({
    url: '/bbs_operation_record/bbs_operation_record/' + id,
    method: 'delete'
  })
}
